Add Traefik reverse-proxy module - #549
Open
RonaldHensbergen wants to merge 7 commits into
Open
Conversation
SemTiOne
requested changes
Aug 29, 2026
SemTiOne
left a comment
Collaborator
There was a problem hiding this comment.
Solid work! I have some suggestions below that you may want to consider.
| - default | ||
|
|
||
| volumes: | ||
| - /var/run/docker.sock:/var/run/docker.sock:ro |
Collaborator
There was a problem hiding this comment.
docker.sock mount gives the container host-root via the Docker API; :ro does not restrict it. This cancels the cap_drop/no-new-privileges/read_only hardening. Use a socket proxy or drop the Docker provider by default.
| compose: | ||
| services: | ||
| traefik: | ||
| image: traefik:v3.0 |
Collaborator
There was a problem hiding this comment.
Pin traefik:v3.0 to a digest (keydb does).
Co-authored-by: Dane Parin <emphyst80@gmail.com>
Co-authored-by: Dane Parin <emphyst80@gmail.com>
Co-authored-by: Dane Parin <emphyst80@gmail.com>
Co-authored-by: Dane Parin <emphyst80@gmail.com>
Co-authored-by: Dane Parin <emphyst80@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
modules/integration/traefik/module.yamldefining a Traefikreverse-proxy module:
http/https/dashboardports.(min/max version, SNI strictness, preferred server cipher suites), Docker
provider, and file provider settings, all with sane secure defaults
(TLS 1.2+ enforced, dashboard bound to
127.0.0.1,insecureAPI off).reverse-proxycontract over HTTPS on port 443.user,read_onlyroot FS,cap_drop: [ALL],no-new-privileges,pids_limit, and atraefik healthcheck --pinghealthcheck.Refs #205 (TLS and certificate-management contracts) — this module is the
ingress/reverse-proxy piece that will carry TLS termination and
certificate-reference wiring for that work.
Testing
cds validate(standalone single-module profile) — 0 diagnostics.yamllint modules/integration/traefik/module.yaml— clean.